package com.lx.shopping.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lx.bilibili.entity.ProductPicture;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProductPictureMapper extends BaseMapper<ProductPicture> {

    @Select("select * from product_picture where pid = #{pid}")
    List<ProductPicture> selectByProductId(int pid);
}
